#ifndef LVGL_ISD_RESOURCE_H
#define LVGL_ISD_RESOURCE_H

#include <stdint.h>
#include <stdbool.h>
#include "lvgl.h"

#ifdef __cplusplus
extern "C" {
#endif

void lvgl_isd_resource_init();
bool lvgl_isd_resource_exist(const char *name);
int32_t lvgl_isd_resource_add(const char *name, lv_img_dsc_t dsc, int32_t room);
void lvgl_isd_resource_del(const char *name);
void lvgl_isd_resource_build(const char *name, const void *src, int32_t len);
void *lvgl_isd_resource_dsc(const char *name);
uint32_t lvgl_isd_resource_check(const char *name);

#ifdef __cplusplus
}
#endif

#endif // LVGL_ISD_RESOURCE_H
